package org.rency.crawler.dal.dao;

import org.rency.crawler.dal.entity.HostPoolDO;

/**
 * 描述: ${TODO}<br>
 * 最近修改时间:2017/12/18 14:22<br>
 *
 * @author CaiyuRen
 * @version V1.0
 * @since 2017/12/18 14:22
 */
public interface HostPoolDao {

  public boolean save(HostPoolDO entity);

  public HostPoolDO load(String id);

  public HostPoolDO find(String hostNo);

  public long findCount();

  public boolean updateAddress(String hostNo, String ipv4Address, String ipv6Address);

  public boolean delete(String hostNo);

  public long removeAll();

}
